package JAVA基础.Scanner语法;

import java.util.Scanner;

public class text {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入int整型变量：");
        int i = sc.nextInt();
        System.out.println("i=" + i);
    }
}
